import request from '@/utils/request'

/**
 *获取布防结果列表
 * @param query
 */
export function listResult(query) {
  return request({
    url: '/nssc/alarmInformation/list',
    method: 'get',
    params: query
  })
}

/**
 *根据id查询详细信息
 * @param id
 */
export function getResult(id) {
  return request({
    url: '/nssc/alarmInformation/' + id,
    method: 'get'
  })
}


/**
 *删除布防结果
 * @param id
 */
export function delResult(id) {
  return request({
    url: '/nssc/alarmInformation/' + id,
    method: 'delete'
  })
}
